<extend name="Base/common"/>
<block name="body">  
        <section class="container">
            <div class="content-wrap">
                <div class="content">
                    <div class="title">
                        <!--h3 style="line-height: 1.3">MZ-NetBlog主题</h3-->
                    </div>
                    <volist name='list' id='data'>    
                    <article class="excerpt excerpt-1">
                        <if condition="$data['count'] gt 1">
                          <a href="{:url_route('detail/'.$da['nav'].'/'.$data['pin_yin'].'/id/'.$data['id'])}" title="" target="_blank">
                        <else/>
                          <a href="{:url_route('detail/'.$da['nav'].'/'.$data['pin_yin'])}" title="{$data.title}" target="_blank">
                        </if>
                        <header>
                        <h2>
                         
                          {$data.title}
                            
                         </h2>  
                                
                        </header>
                        <p class="meta">
                            <time class="time">
                                <i class="glyphicon glyphicon-time"></i>{$data.create_time|date="Y-m-d",###}</time>
                            <span class="views">
                                <i class="glyphicon glyphicon-eye-open"></i> {$data.view}</span>
                                <if  condition="0">
                            <!--a class="comment" href="##comment" title="评论" target="_blank">
                                <i class="glyphicon glyphicon-comment"></i>4</a-->
                                </if>
                        </p>
                        <p class="note">
                        <if condition="strlen($data['description']) gt 128">
		            	   {:mb_substr($data['description'],0,128)."..."}
		             	<!-- {:substr_replace($document['description'],'...',370,strlen($document['description']))} -->
		            	<else/>
		            	   {$data['description']}
		           		</if>
                        </p>
                        </a>
                    </article>
                    </volist>
                    
                    <!--nav class="pagination" style="display: none;"-->
                    <nav>
                        {$pageStr}
                    </nav>
                </div>
            </div>

           <aside class="sidebar">
			<if condition="$category">
            <div class="widget widget_sentence">
              <h3><a href="{:url_route('cate')}">分类</a></h3>
              <div class="tag-cloud">
                <volist name="category"  id="data">
                   <a href="{:url_route('cate/'.$key)}">{$data}</a> 
                </volist>
               </div>
            </div>
            </if>
            <div class="widget widget_sentence">
          <!--   <a href="{$articleRight['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$articleRight['img']}" alt=""></a> -->
        </div>
         <if condition="$tags">
            <div class="fixed">
            <div class="widget widget_sentence">
              <h3><a href="{:url_route('tags')}">标签云</a></h3>
              <div class="tag-cloud">
              <volist name="tags"  id="data">
              <if condition="$data['tag_name']">
                <if condition="$data['count'] gt 1">
                   <a href="{:url_route('tags/'.$data['name'].'/id/'.$data['id'])}">{$data['tag_name']}</a>
                <else/>
                    <a href="{:url_route('tags/'.$data['name'])}">{$data['tag_name']}</a>
                 </if>
                 </if>
                </volist>
               </div>
            </div>
          </if>
      </aside>
        </section>
</block>